package com.photography.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.photography.pojo.Product;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ProductMapper extends BaseMapper<Product> {

    @Select("SELECT productid FROM product_order WHERE orderid = #{orderId}")
    List<String> findProductidsByOrderId(String orderId);
}
